﻿
@model WebCommit.Common.Models.TitleResponse
@using UserEntity=WebCommit.Common.Entitys.UserEntity
@using Resource = WebCommit.Common.Constants.Resource
@{
	ViewBag.Title = "Title";
	Layout = "~/Views/Shared/_Layout.cshtml";
}
<div id="mainHolder">
	<div id="leftHolder">
	@if (!Model.IsCanCommit)
 { 
<span style="font-size:16px;color:Red;font-weight:bold;text-align:center;width:100%;padding:15px auto 15px auto;height:50px">@Resource.GetResource("Commit_NoFound")</span>
 }
 else if (Model.IsCanCommit && Model.WebTitle == null)
 {
<span style="font-size:16px;color:Red;font-weight:bold;text-align:center;width:100%;padding:15px auto 15px auto;height:50px">@string.Format(Resource.GetResource("Commit_NotCommit"),"这里输入登录地址")</span>
 }
 else
 {
		<div id="titleHolder">
			<div></div>
			<div>
				<div>@Model.WebTitle.Title</div>
				<div><span>评论 @Model.WebTitle.CommitCount 次</span><span style="padding-left:20px">关注 @Model.WebTitle.FocusCount 次</span></div>
			</div>
		</div>
		<div id="inputHolder">
		@if (LoginUser != null)
  {

  }
		</div>
		<div id="filterHolder"></div>
		<div id="listHolder"></div>
		<div id="pagerHolder"></div>
 }
	</div>
	<div id="rightHolder">
		<div id="hotTitleHolder">
			<div>热门评论</div>
			<div></div>
		</div>
		<div id="hotListHolder"></div>
		</div>
</div>
